package com.example.course.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

/**
 * 
 * @TableName semester
 */
@TableName(value ="semester")
@Data
public class Semester implements Serializable {
    /**
     * 
     */
    @TableId(value = "semester_id",type = IdType.ASSIGN_ID)
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long semesterId;

    /**
     * 学期开始时间
     */
    @TableField(value = "semester_start")
    private String semesterStart;

    /**
     * 学期结束时间
     */
    @TableField(value = "semester_end")
    private String semesterEnd;

    /**
     * 学期名
     */
    @TableField(value = "semester_message")
    private String semesterMessage;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;


}